package com.meilai.project.entity.business.saleOrder;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @author ykb
 * @since 2022-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sale_intention_order_daterange")
@ApiModel(value= "销售意向订单集合-时间段")
public class SaleIntentionOrderDaterange {

	@NotNull
	@ApiModelProperty("开始日期")
	private LocalDate start_at;

	@NotNull
	@ApiModelProperty("结束日期")
	private LocalDate end_at;

	@ApiModelProperty(value = "sale_intention_order表的id")
	private Long sale_intention_order_id;

}
